<?php include('includes/connect.php');
?>
<div id="topheader">
	<div class="topheaderleft"><a href="index.php"><img src="images/logo4_beta.png" border="0"/></a></div>
	<div class="topheaderright">
    	<div id="topmenuright"><div>
        <?php  if(isset($_SESSION['user_id'])) {?>
        <strong style="color:#000;">Welcome</strong> <?php echo '<a href="myhome.php"><b>'.$_SESSION['fname'].'</b></a>'; ?> | <a href="settings.php">Settings</a> | <a href="#">Profile</a> | <a href="log.php">Logout</a> | <a href="help.php">Help</a> | <a href="feedback.php">Feedback</a>
        <?php } 
		else
		{
		?>        
        <a href="register.php">Register Free</a> | <a href="login.php">Log-in</a> | <a href="help.php">Help</a> | <a href="feedback.php">Feedback</a>
        <?php
		}
		?>
        </div></div>
        <div>
        	<table border="0" cellpadding="0" cellspacing="0">
            <tr>
            	<td><img src="images/topgrey-left.jpg" /></td>
                <td id="topmenu"><a href="">Castings</a> | <a href="">Portfolios</a> | <a href="">Audio</a> | <a href="">Photos</a> | <a href="">Videos</a> | <a href="">Events</a> | <a href="">News</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>               	
                <td id="topmenu">                  	               	
                	<form name="form" action="search.php" method="get">
                    <table border="0" cellpadding="0px" cellpadding="0px">
                    <tr>
                    <td>
                    	<input type="text" name="q" size="24" placeholder="Eg. actors, models, auditions"/>&nbsp;</td><td><input type="submit" name="Submit" value="" class="searchbuttn"/>
                     </td>
                     </tr>   
                    </form>
                    </table>                            
                </td>
                <td><img src="images/topgrey-right.jpg" /></td>
            </tr>
            </table>
        </div>
    </div>
</div>
<div id="breadcrumbs">
	<?php if(isset($mtitle) && $mtitle!='') { ?>
    <div id="bleft"><a href="myhome.php">Home</a> > <a href="<?php echo $titlelink; ?>"><?php echo $mtitle; ?></a> > <?php echo $title; ?></div>
    <?php } else { ?>
	<div id="bleft"><a href="myhome.php">Home</a> > <?php echo $title; ?></div>
    <?php } ?>
</div>
<?php
if(isset($_SESSION['record_status']) && $_SESSION['record_status']=='N' && $title!=='Verify email')
{
?>
<div id="notify">
	<div><img src="images/notify.gif" /> &nbsp;Please confirm you email address In case you have not received a confirmation from us <a href="verify-email.php">click here</a>.	</div><br />
</div>
<?php
}
?>